' T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 ' Q%          N a m e :   T W i n G o B a s i c T o u c h _ 0 3 . t x t                 D a t e :   2 0   M a r   2 0 2 4   Q%
 
 ' Q%      A u t h o r :   L e o n a r d o                                                                                   Q%
 
 ' Q%        S c o p e :   T e s t   a l l   t h e   f u n c t i o n a l i t y   o f   t h e   T W i n G o   B A S I C 1     Q%
 
 ' `%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%c%
 
 ' Q%  M O T O R   1   S T S 3 2 1 5   F e e T e c h                                                                         Q%
 
 ' Q%  M O T O R   2   S T S 3 2 1 5   F e e T e c h                                                                         Q%
 
 ' Q%  M O T O R   3   S T S 3 2 1 5   F e e T e c h                                                                         Q%
 
 ' Q%  M O T O R   4   S T S 3 2 1 5   F e e T e c h                                                                         Q%
 
 ' `%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%c%
 
 ' Q%H a r d w a r e :   O n e   U R T - 1   f r o m   F e e T e c h                                                         Q%
 
 ' Q%                    M a s t e r   w i t h   4   e n c o d e r s   k n o b   &   1 0   b u t t o n s                     Q%
 
 ' `%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%c%
 
 ' Q%I S O       C u l t u r e     G e n d e r       A g e           N a m e                                                 Q%
 
 ' _% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %b%
 
 ' Q%E N G       E N - U S         M a l e           A d u l t       M i c r o s o f t   D a v i d   D e s k t o p           Q%
 
 ' Q%E N G       E N - U S         F e m a l e       A d u l t       M i c r o s o f t   Z i r a   D e s k t o p             Q%
 
 ' Q%I T A       I T - I T         F e m a l e       A d u l t       M i c r o s o f t   E l s a   D e s k t o p             Q%
 
 ' Q%J P N       J A - J P         F e m a l e       A d u l t       M i c r o s o f t   H a r u k a   D e s k t o p         Q%
 
 ' Q%Z H O       Z H - C N         F e m a l e       A d u l t       M i c r o s o f t   H u i h u i   D e s k t o p         Q%
 
 ' Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 O p t i o n   S p e e d   9 
 
 L o a d   i m a g e s \ T W i n G o _ T o u c h . j p g 
 
 ' B e e p   " 2 5 0 0   2 0 ,   1 5 0 0   1 0 0 " 
 
 T T S   S e l e c t V o i c e   " E N G " 
 
 ' T T S   S e l e c t V o i c e   " Z H O " 
 
 ' s 1   =   T T S v o i c e s 
 
 T T S   S e t V o l u m e   0 ' 1 0 0             ' 1 0 0 
 
 T T S   S e t S p e e d   - 1 
 
 ' T T S   S e l e c t V o i c e   5       ' 3 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 '   Q%  S L O T   T E X T   f o r   C O M M A N D S   a n d   R E S P O N S E S               Q%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 ' V a r i a b l e   N u m e r i c   S l o t _ C o m m a n d s T o M o t o r s             =   5 0 
 
 V a r i a b l e   N u m e r i c   S l o t _ C o m m a n d s T o C o b o t               =   5 1 
 
 V a r i a b l e   N u m e r i c   S l o t _ R e s p o n s e s F r o m C o b o t         =   5 2 
 
 V a r i a b l e   N u m e r i c   S l o t _ E x t e r n a l C o m m a n d s             =   5 3 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%%  %      %%%%  %%%%%
 
 '   Q%  S L O T   I N I T I A L I Z A T I O N S                                               Q%  %%%%  %      %    %      %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%%  %%%  %%%%      %
 
 ' V a r i a b l e   N u m e r i c   S l o t _ P e d a l                             =     1 0 
 
 ' V a r i a b l e   N u m e r i c   S l o t _ S e t W a y P o i n t                 =     9 1 4 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ M a s t e r S t a t u s                 =     9 0 8 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ S i g n a l S c o p e                   =     9 8 3 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ E n c o d e r 1                         =     9 2 1 
 
 V a r i a b l e   N u m e r i c   S l o t _ E n c o d e r 2                         =     9 2 2 
 
 V a r i a b l e   N u m e r i c   S l o t _ E n c o d e r 3                         =     9 2 3 
 
 V a r i a b l e   N u m e r i c   S l o t _ E n c o d e r 4                         =     9 2 4 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ F i r s t F i v e B u t t o n           =     9 2 6 
 
 V a r i a b l e   N u m e r i c   S l o t _ S e c o n d F i v e B u t t o n         =     9 2 7 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ M o t o r s F P S                       =     5 6 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 1 _ d e s B a s e                     =   1 0 1 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 2 _ d e s I n n e r                   =   1 5 1 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 3 _ d e s M i d d l e                 =   2 0 1 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 4 _ d e s O u t e r                   =   2 5 1 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 1 _ p o s B a s e                     =   1 0 2 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 2 _ p o s I n n e r                   =   1 5 2 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 3 _ p o s M i d d l e                 =   2 0 2 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 4 _ p o s O u t e r                   =   2 5 2 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 1 _ D e l t a B a s e                 =   1 4 9 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 2 _ D e l t a I n n e r               =   1 9 9 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 3 _ D e l t a M i d d l e             =   2 4 9 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 4 _ D e l t a O u t e r               =   2 9 9 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   M i c r o V i d e o 
 
 V a r i a b l e   N u m e r i c   S l o t _ T a k e I m a g e                       =   9 1 5 
 
 V a r i a b l e   N u m e r i c   S l o t _ S t a r t S t o p V i d e o             =   9 1 6 
 
 V a r i a b l e   N u m e r i c   S l o t _ S a v e V i d e o                       =   9 1 7 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 1 _ M i n                             =   8 5 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 1 _ M a x                             =   2 8 0 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 2 _ M i n                             =   8 0 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 2 _ M a x                             =   2 7 5 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 3 _ M i n                             =   4 0 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 3 _ M a x                             =   3 2 0 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 4 _ M i n                             =   3 7 
 
 V a r i a b l e   N u m e r i c   S l o t _ M 4 _ M a x                             =   3 2 0 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ U N U S E D 1                             =   3 2 0 
 
 ' v a r i a b l e   n u m e r i c   a 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%%  %    %  %%%%%  %%%%%  %%%%  %%  %  %%%%
 
 '   Q%  B U T T O N S                                                       Q%  %%%%  %    %      %          %      %    %  %  %%  %%%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%%  %%%%      %          %      %%%%  %    %  %%%%
 
 B u t t o n   1   L a b e l   M o t o r F P S 
 
 B u t t o n   M o t o r F P S   T e x t   " N O   M O T O R S " 
 
 B u t t o n   M o t o r F P S   C o l o r   F l a s h i n g 7   Y e l l o w   D a r k O r a n g e 
 
 
 
 B u t t o n   2   L a b e l   " M o t o r T e m p " 
 
 
 
 B u t t o n   3   L a b e l   C u r r e n t M e t e r 
 
 
 
 
 
 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %      %%%%  %%%%  %%%%
 
 '   Q%  L O A D   A P P S                                                                     Q%  %      %    %  %%%%  %    %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%  %%%%  %    %  %%%%
 
 
 
 
 
 ' L o a d   T h e r e m i n o _ M o t o r s . e x e 
 
 ' L o a d   T h e r e m i n o _ S l o t V i e w e r _ M o t o r s . e x e 
 
 ' L o a d   T h e r e m i n o _ H A L . e x e 
 
 ' L o a d   T h e r e m i n o _ S l o t V i e w e r _ M a s t e r _ E n c . e x e 
 
 ' L o a d   T h e r e m i n o _ S l o t V i e w e r _ S T R . e x e 
 
 ' L o a d   T h e r e m i n o _ M i c r o v i d e o . e x e 
 
 ' L o a d   T h e r e m i n o _ S l o t V i e w e r _ T S I O . e x e 
 
 
 
 W a i t A p p l i c a t i o n s S t a r t e d 
 
 
 
 ' W a i t A l l M o t o r s 
 
 
 
 ' D e A c t i v a t e M o t o r s 
 
 ' C o p y P o s i t i o n s T o D e s t i n a t i o n s 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     M O T O R S   m u s t   b e   a c t i v e   b e f o r e   C o b o t 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 L o a d   T h e r e m i n o _ C o b o t . e x e 
 
 
 
 ' L o a d   " . . \ F i l e s \ A n a l o g _ B u t t o n _ F u n c t i o n s . t x t " 
 
 L o a d   H i d e 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%      %%%%    %%%%%    %%%%%    %%%%%    %%%%%
 
 '   Q%    E X E C U T I O N   S T A R T   F R O M   H E R E                                   Q%      %%%%        %        %%%%%    %%%%%        %
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%      %%%%        %        %      %    %    %%        %
 
 
 
 ' R e s e t E n c o d e r s 
 
 ' S l o t ( S l o t _ S i g n a l S c o p e )   =   1 0 0 0 
 
 ' C o n t r o l s   O p e n T e x t B o x 
 
 ' C o n t r o l s   C l e a r T e x t B o x 
 
 ' 
 
 ' ' V o i c e C o m m a n d s C o m m a n d s S t a t u s   =   " a c t i v e " 
 
 ' ' V o i c e C o m m a n d s C o m m a n d s S t a t u s   =   " " 
 
 ' ' I n t e r p r e t a t e V o i c e C o m m a n d s C o m m a n d s 
 
 ' 
 
 ' V o i c e O u t p u t S t a t u s   =   " a c t i v e " 
 
 ' ' V o i c e O u t p u t S t a t u s   =   " " 
 
 ' V o i c e O u t p u t O n O f f 
 
 ' T T S   S p e a k   " T h e r e m i n o   A u t o m a t i o n   l a n g u a g e   i s   r u n n i n g . " 
 
 ' 
 
 ' ' T W i n G o T e s t 
 
 ' ' N e e d l e s 
 
 ' ' T u n i n g 
 
 ' ' S e a S u n 
 
 ' ' C o i n s 
 
 
 
 L o o p 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %      %%%%  %%%%  %%%%
 
 '   Q%  L O O P                                                                               Q%  %      %    %  %    %  %%%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%  %%%%  %%%%  %
 
 L a b e l   L o o p 
 
 	 ' C u r r e n t M e t e r 
 
 	 ' ' T o r q u e M e t e r 
 
 	 ' ' T e s t T e m p 
 
 	 ' ' I n t e r p r e t a t e V o i c e C o m m a n d s C o m m a n d s 
 
 	 ' 
 
 	 ' S h o w M o t o r F P S 
 
 	 ' P o s i t i o n D e l t a 
 
 	 ' E n c o d e r s 
 
 	 ' S t a t u s M a s t e r 
 
 	 ' F i r s t F i v e B u t t o n s 
 
 	 ' D e l t a 
 
 G o t o   L o o p 
 
 
 
 L a b e l   D e l t a 
 
 	 S l o t ( S l o t _ M 1 _ D e l t a B a s e )     =   S l o t ( S l o t _ M 1 _ d e s B a s e )   -   S l o t ( S l o t _ M 1 _ p o s B a s e ) 
 
 	 S l o t ( S l o t _ M 2 _ D e l t a I n n e r )   =   S l o t ( S l o t _ M 2 _ d e s I n n e r )   -   S l o t ( S l o t _ M 2 _ p o s I n n e r ) 
 
 	 S l o t ( S l o t _ M 3 _ D e l t a M i d d l e )   =   S l o t ( S l o t _ M 3 _ d e s M i d d l e )   -   S l o t ( S l o t _ M 3 _ p o s M i d d l e ) 
 
 	 S l o t ( S l o t _ M 4 _ D e l t a O u t e r )       =   S l o t ( S l o t _ M 4 _ d e s O u t e r )   -   S l o t ( S l o t _ M 4 _ p o s O u t e r ) 
 
 R e t u r n 
 
 
 
 L a b e l   T e s t T e m p 
 
 	 V a r i a b l e   N u m e r i c   T T 1 
 
 	 V a r i a b l e   N u m e r i c   T T 2   =   0 
 
 	 ' T T 2   =   0 
 
 	 F o r   T T 1   =   1   T o   5 
 
 	 	 T T 2   =   M a x ( T T 2 ,   S l o t ( T T 1   *   1 0 0   +   6 ) )                                               ' < < < < < < < < < < < < < < < < 
 
 	 N e x t 
 
 	 B u t t o n   M o t o r T e m p   T e x t   " M a x T   "   +   T T 2   +   "  C " 
 
 R e t u r n 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 '   Q%  M A S T E R   S T A T U S   Q U E R Y   Q%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 L a b e l   S t a t u s M a s t e r 
 
 	 V a r i a b l e   S t r i n g   M a s t e r 
 
 	 I f   S l o t ( S l o t _ M a s t e r S t a t u s )   < >   1 0 0 0 
 
 	 	 M a s t e r   =   " O F F " 
 
 	 	 ' P r i n t   " M A S T E R   O F F     " 
 
 	 E l s e 
 
 	 	 M a s t e r   =   " O N " 
 
 	 	 ' P r i n t   " M A S T E R   O N     " 
 
 	 E n d I f 
 
 R e t u r n 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 '   Q%  E N A B L E / D I S A B L E   B U T T O N S                                           Q%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 L a b e l   E n a b l e A l l B u t t o n s 
 
 	 F o r   v 1   =   1   T o   3 2 
 
 	 	 B u t t o n   v 1   E n a b l e d 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 L a b e l   D i s a b l e A l l B u t t o n s 
 
 	 F o r   v 1   =   1   T o   3 2 
 
 	 	 B u t t o n   v 1   D i s a b l e d 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 '   Q%    W A I T   C O B O T   R E A D Y                                                     Q%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 L a b e l   W a i t C o b o t R e a d y 
 
 	 V a r i a b l e   N u m e r i c   W C R 1 
 
 	 F o r   W C R 1   =   1   T o   I n f i n i t y 
 
 	 	 W a i t   S e c o n d s   0 . 0 5 
 
 	 	 I f   S l o t T e x t ( S l o t _ R e s p o n s e s F r o m C o b o t )   =   " R e a d y " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 '   Q%    W A I T   A P P S   S T A R T E D                                                   Q%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 L a b e l   W a i t A p p l i c a t i o n s S t a r t e d 
 
 	 S l o t ( S l o t _ M o t o r s F P S )   =   0 
 
 	 W a i t   S l o t ( S l o t _ M o t o r s F P S )   >   1 0 
 
 	 W a i t   S e c o n d s   0 . 1 
 
 R e t u r n 
 
 
 
 '   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%  %%%%  %%%%%  %%%%  %%%%
 
 '   Q%  S T O P   E V E N T   ( w h e n   p r e s s i n g   s t o p   b u t t o n )           Q%  %%%%      %      %    %  %%%%
 
 '   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%  %%%%      %      %%%%  %
 
 L a b e l   E v e n t S t o p 
 
 	 ' S a f e 
 
 	 L o a d   C l o s e A p p s   " . . \ F i l e s \ W i F i _ c o n t r o l l e r _ b u t t o n s . t x t " 
 
 	 ' G o T o H o m e 
 
 	 ' S t o p C o b o t 
 
 	 S l o t ( S l o t _ S i g n a l S c o p e )   =   0 
 
 	 ' D e A c t i v a t e M o t o r s 
 
 E n d 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S E N D   C O M M A N D   ( d e f a u l t   t i m e o u t   =   0 . 5   S e c ) 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   S e n d C o m m a n d 	 	 	 ' ( D e s t i n a t i o n   S l o t ) ( C o m m a n d   S t r i n g ) 
 
 	 V a r i a b l e   N u m e r i c   S C 1 
 
 	 V a r i a b l e   S t r i n g     S C 2 
 
 	 V a r i a b l e   N u m e r i c   S C 3   =   0 . 7   ' < - -   T h e   t i m e o u t   i n   s e c o n d s   w a s   0 . 5 
 
 	 V a r i a b l e   N u m e r i c   S C 4 
 
 	 S l o t T e x t   S C 1   =   S C 2 
 
 	 F o r   S C 4   =   0 . 1   T o   S C 3   S t e p   0 . 1 
 
 	 	 I f   S l o t T e x t ( S C 1 )   =   " " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 W a i t   S e c o n d s   0 . 1 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 ' T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W%
 
 ' Q%C O M M A N D S   T O   C O B O T Q%
 
 ' Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]%
 
 '   %%%%  %%%%  %%  %%  %%  %%      %%%%%  %%%%      %%%%  %%%%  %%%    %%%%  %%%%%
 
 '   %        %    %  %  %  %  %  %  %          %      %    %      %        %    %  %%%%  %    %      %
 
 '   %%%%  %%%%  %      %  %      %  %      %      %%%%      %%%%  %%%%  %%%%  %%%%      %
 
 
 
 L a b e l   E x e c C o b o t 
 
 	 ' S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " D i s a b l e R e p e a t " ) 
 
 	 ' S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " E n a b l e R e p e a t " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " S e l e c t L i n e   1 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " S t a r t E x e c u t i o n " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S t o p C o b o t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " S t o p E x e c u t i o n " ) 
 
 R e t u r n 
 
 
 
 L a b e l   A r r o w U p C o b o t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " A r r o w U p " ) 
 
 R e t u r n 
 
 
 
 L a b e l   A r r o w D o w n C o b o t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " A r r o w D o w n " ) 
 
 R e t u r n 
 
 
 
 L a b e l   E x e c u t e C o b o t F r o m S e l e c t e d L i n e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " S t a r t E x e c u t i o n " ) 
 
 R e t u r n 
 
 
 
 L a b e l   U p d a t e C o b o t 
 
 	 I f   M a s t e r   =   " O F F " 
 
 	 	 R e t u r n 
 
 	 E n d I f 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " C o r r e c t S e l e c t e d P o s i t i o n " ) 
 
 R e t u r n 
 
 
 
 
 
 L a b e l   D e l e t e S e l e c t e d L i n e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " D e l e t e S e l e c t e d L i n e " ) 
 
 R e t u r n 
 
 
 
 L a b e l   A d d N e w P o s i t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " A d d N e w P o s i t i o n " ) 
 
 R e t u r n 
 
 
 
 L a b e l   E n a b l e R e p e a t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " E n a b l e R e p e a t " ) 
 
 R e t u r n 
 
 
 
 L a b e l   D i s a b l e R e p e a t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C o b o t ) ( " D i s a b l e R e p e a t " ) 
 
 R e t u r n 
 
 
 
 
 
 ' B O O K M A R K S   3 6 2   3 5 6   
 
 
 
 ' W A T C H   C R 
 
 